package com.bigknow.appstore.web.console.app;

import com.bigknow.appstore.web.framework.entity.BaseEntity;
import com.bigknow.appstore.web.framework.entity.IEntity;
import org.mongodb.morphia.annotations.Entity;

/**
 * Created by zhangwei on 2016/10/10.
 */
@Entity("oauth-code")
public class OauthCode extends BaseEntity implements IEntity {
    private long create_time;
    private String code;
    private String user_name;
    private String client_id;

    public long getCreate_time() {
        return create_time;
    }

    public void setCreate_time(long create_time) {
        this.create_time = create_time;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getUser_name() {
        return user_name;
    }

    public void setUser_name(String user_name) {
        this.user_name = user_name;
    }

    public String getClient_id() {
        return client_id;
    }

    public void setClient_id(String client_id) {
        this.client_id = client_id;
    }
}

